package com.wyhello.tube4.pojo;

import java.util.HashSet;
import java.util.Set;

public class Position implements Cloneable{
	//主键ID
	private int id;
	//位置名称
	private String positionName;
	//材质
	private String stuff;
	//外径值
	private float outerDiameter;
	//壁厚值
	private float wallThick;
	//焊接方法
	private String weldMethod;
	//焊丝规格
	private String solder;
	//是否热处理
	private boolean heat;
	//是否在使用
	private boolean using;
	//数据字典内相关数据
	private Dictionary dictionary;
	//宏观测量记录
	private Set<Macroscopic> macroscopics = new HashSet<Macroscopic>();
	//实际测量记录
	private Set<Reality> realitys = new HashSet<Reality>();
	//更换记录
	private Set<Exchange> exchanges = new HashSet<Exchange>();
	//所属管
	private Tube tube;
	
	//外径预警参数理论上限值
	private float outLimitValue;
	//外径预警参数预警值
	private float outWarnValue;
	//相对蠕胀预警参数理论上限值
	private float creepLimitValue;
	//相对蠕胀预警参数预警值
	private float creepWarnValue;
	//壁厚预警参数理论下限值
	private float wallLimitValue;
	//壁厚预警参数预警值
	private float wallWarnValue;
	//磨损速率预警参数
	private float speedValue;
	//估算寿命预警参数
	private float lifeValue;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPositionName() {
		return positionName;
	}
	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}
	public String getStuff() {
		return stuff;
	}
	public void setStuff(String stuff) {
		this.stuff = stuff;
	}
	public float getOuterDiameter() {
		return outerDiameter;
	}
	public void setOuterDiameter(float outerDiameter) {
		this.outerDiameter = outerDiameter;
	}
	public float getWallThick() {
		return wallThick;
	}
	public void setWallThick(float wallThick) {
		this.wallThick = wallThick;
	}
	public String getWeldMethod() {
		return weldMethod;
	}
	public void setWeldMethod(String weldMethod) {
		this.weldMethod = weldMethod;
	}
	public String getSolder() {
		return solder;
	}
	public void setSolder(String solder) {
		this.solder = solder;
	}
	public boolean isHeat() {
		return heat;
	}
	public void setHeat(boolean heat) {
		this.heat = heat;
	}
	public boolean isUsing() {
		return using;
	}
	public void setUsing(boolean using) {
		this.using = using;
	}
	public Dictionary getDictionary() {
		return dictionary;
	}
	public void setDictionary(Dictionary dictionary) {
		this.dictionary = dictionary;
	}
	public Set<Macroscopic> getMacroscopics() {
		return macroscopics;
	}
	public void setMacroscopics(Set<Macroscopic> macroscopics) {
		this.macroscopics = macroscopics;
	}
	public Set<Reality> getRealitys() {
		return realitys;
	}
	public void setRealitys(Set<Reality> realitys) {
		this.realitys = realitys;
	}
	public Tube getTube() {
		return tube;
	}
	public void setTube(Tube tube) {
		this.tube = tube;
	}
	public float getOutLimitValue() {
		return outLimitValue;
	}
	public void setOutLimitValue(float outLimitValue) {
		this.outLimitValue = outLimitValue;
	}
	public float getOutWarnValue() {
		return outWarnValue;
	}
	public void setOutWarnValue(float outWarnValue) {
		this.outWarnValue = outWarnValue;
	}
	public float getCreepLimitValue() {
		return creepLimitValue;
	}
	public void setCreepLimitValue(float creepLimitValue) {
		this.creepLimitValue = creepLimitValue;
	}
	public float getCreepWarnValue() {
		return creepWarnValue;
	}
	public void setCreepWarnValue(float creepWarnValue) {
		this.creepWarnValue = creepWarnValue;
	}
	public float getWallLimitValue() {
		return wallLimitValue;
	}
	public void setWallLimitValue(float wallLimitValue) {
		this.wallLimitValue = wallLimitValue;
	}
	public float getWallWarnValue() {
		return wallWarnValue;
	}
	public void setWallWarnValue(float wallWarnValue) {
		this.wallWarnValue = wallWarnValue;
	}
	public float getSpeedValue() {
		return speedValue;
	}
	public void setSpeedValue(float speedValue) {
		this.speedValue = speedValue;
	}
	public float getLifeValue() {
		return lifeValue;
	}
	public void setLifeValue(float lifeValue) {
		this.lifeValue = lifeValue;
	}
	public Set<Exchange> getExchanges() {
		return exchanges;
	}
	public void setExchanges(Set<Exchange> exchanges) {
		this.exchanges = exchanges;
	}
	@Override
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
	
}
